﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using WSPay.Domain;

namespace WSPay
{
    public abstract class Payment
    {

        public Dictionary<string,PaymentConfig> Configs { get; set; }

        public abstract void SendRequest();

        public abstract bool VerifyNotify(int timeout, string configXML, HttpContextBase response = null);

        public  PaymentRequest PaymentRequest{
            get;
            set;
        }

        public PaymentNotify PaymentNotify
        {
            get;
            set;
        }

       

    }
}
